<template>
<div>
    <h3>{{message}}</h3>
    <button @click='btn'>反转世界</button>
</div>
</template>

<script>

export default {
    data(){
        return{
             message: "HELLO,WORLD",
        }
    },
    methods: {
        btn(){
            this.message=this.message.split("").reverse().join("");   
        }    
    }
}
</script>

<style>
</style>
